import { defineStore } from 'pinia';
import {ref} from'vue';

export const useMyStore = defineStore('myStore', {
  state: () => ({
    Code: '',
    Password:'',
  }),
  actions: {
   addCode(Code: string) {
      this.Code=Code;
      console.log(Code.valueOf)
    },
    addPassword(Password: string) {
        this.Password=Password;
        console.log(Password.valueOf)
      },
  },
});